//
// Created by zhenduowang on 2020/9/16.
//

#include <iostream>

#include "config.h"
#include "MathFunc.h"

using namespace std;

int main(int argc, char** argv) {
    if (argc < 2) {
        std::cout << argv[0] << " Version " << Lesson_VERSION_MAJOR << "."
                  << Lesson_VERSION_MINOR << std::endl;
        std::cout << "Usage: " << argv[0] << " number" << std::endl;
        return 1;
    }
    int result = mypower(2, 10);
    std::cout << "2^10=" << result << std::endl;
    return 0;
}